package com.wofish.member.enums;

/**
 * ｛这里添加描述｝
 *
 * @author fangchengyan
 * @date 2019-05-22 16:22
 */
public enum AdvanceTypeEnum {

    /** 管理员操作余额 */
    admin(1, 0, "管理员操作余额"),

    /** 用户下单使用余额 */
    order(2, -1, "用户下单使用余额"),

    /** 用户充值余额 */
    recharge(3, 1, "用户余额充值"),
    ;

    private int type;

    private int flag;

    private String desc;

    AdvanceTypeEnum(int type, int flag, String desc) {
        this.type = type;
        this.flag = flag;
        this.desc = desc;
    }

    public int getType() {
        return type;
    }

    public int getFlag() {
        return flag;
    }

    public String getDesc() {
        return desc;
    }
}
